/// MobileIMSDK登录信息
class MobileIMSDKLoginInfo {
  String? userId;
  String? token;
  String? extra;

  MobileIMSDKLoginInfo.fromJson(Map<dynamic, dynamic> json) {
    userId = json['currentLoginUserId'];
    token = json['currentLoginToken'];
    extra = json['currentLoginExtra'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> data = Map<String, dynamic>();
    data['currentLoginUserId'] = userId;
    data['currentLoginToken'] = token;
    data['currentLoginExtra'] = extra;
    return data;
  }
}
